package com.sanley.piss.model.po;

import com.sanley.piss.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author 张凯大天才
 */
@EqualsAndHashCode
@Data
@ApiModel(value = "教育经历表", description = "教育经历表说明")
public class EducationalBackground extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -4080332153785018727L;

    @ApiModelProperty(value = "员工ID,后台填充", hidden = true)
    private Integer employeeId;

    @ApiModelProperty(value = "学校")
    private String school;

    @ApiModelProperty(value = "专业")
    private String major;

    @ApiModelProperty(value = "入校时间")
    private Date enterTime;

    @ApiModelProperty(value = "结业时间")
    private Date timeCompletion;

    @ApiModelProperty(value = "学历")
    private String education;

    @ApiModelProperty(value = "是否取得学位",example = "0否，1是")
    private int degree;

    @ApiModelProperty(value = "证件名称")
    private List<String> papersName;

    @ApiModelProperty(value = "证件类型")
    private List<String> documentType;

    @ApiModelProperty(value = "证件编号")
    private List<String> documentNumber;

    @ApiModelProperty(value = "发证机构")
    private List<String> juniper;

    @ApiModelProperty(value = "发证日期")
    private List<String> openingDate;

    @ApiModelProperty(value = "证书到期日期")
    private List<String> dateDue;
}